<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@include file="/context/mytags.jsp"%>
<t:base type="jquery,easyui,tools,DatePicker"></t:base>
<div class="easyui-layout" fit="true">
  <div region="center" style="padding:1px;">
  <t:datagrid name="cbsPartInfoList" checkbox="true" fitColumns="false" title="" actionUrl="cbsPartInfoController.do?datagrid&canSale=${canSale}" idField="id" fit="true" queryMode="group">
   <t:dgCol title="ID"  field="id"  hidden="true"  queryMode="group"  width="120"></t:dgCol>
   <t:dgCol title="配件号"  field="partNo"   query="true" queryMode="single"  width="120"></t:dgCol>
   <t:dgCol title="英文描述"  field="englishDes"   query="false" queryMode="single"  width="120"></t:dgCol>
   <t:dgCol title="中文描述"  field="chineseDes"   query="true" queryMode="single"  width="120"></t:dgCol>
  <%--  <t:dgCol title="销售单位"  field="marketUnit"   query="true" queryMode="single"  width="120"></t:dgCol>
   <t:dgCol title="微信推广名"  field="wechatName"   query="true" queryMode="single"  width="120"></t:dgCol>
   <t:dgCol title="分类"  field="sort"   query="true" queryMode="single"  width="120"></t:dgCol>
   <t:dgCol title="适用机型"  field="type"   query="true" queryMode="single"  width="120"></t:dgCol>
   <t:dgCol title="详细说明"  field="details"   query="true" queryMode="single"  width="120"></t:dgCol> --%>
   <t:dgCol title="createName"  field="createName"  hidden="true"  queryMode="group"  width="120"></t:dgCol>
   <t:dgCol title="createBy"  field="createBy"  hidden="true"  queryMode="group"  width="120"></t:dgCol>
   <t:dgCol title="createDate"  field="createDate" formatter="yyyy-MM-dd" hidden="true"  queryMode="group"  width="120"></t:dgCol>
   <t:dgCol title="updateName"  field="updateName"  hidden="true"  queryMode="group"  width="120"></t:dgCol>
   <t:dgCol title="updateBy"  field="updateBy"  hidden="true"  queryMode="group"  width="120"></t:dgCol>
   <t:dgCol title="updateDate"  field="updateDate" formatter="yyyy-MM-dd" hidden="true"  queryMode="group"  width="120"></t:dgCol>
  </t:datagrid>
  </div>
 </div>
 <script type="text/javascript">
 $(document).ready(function(){
 		//给时间控件加上样式
 			$("#cbsPartInfoListtb").find("input[name='createDate_begin']").attr("class","Wdate").attr("style","height:20px;width:90px;").click(function(){WdatePicker({dateFmt:'yyyy-MM-dd'});});
 			$("#cbsPartInfoListtb").find("input[name='createDate_end']").attr("class","Wdate").attr("style","height:20px;width:90px;").click(function(){WdatePicker({dateFmt:'yyyy-MM-dd'});});
 			$("#cbsPartInfoListtb").find("input[name='updateDate_begin']").attr("class","Wdate").attr("style","height:20px;width:90px;").click(function(){WdatePicker({dateFmt:'yyyy-MM-dd'});});
 			$("#cbsPartInfoListtb").find("input[name='updateDate_end']").attr("class","Wdate").attr("style","height:20px;width:90px;").click(function(){WdatePicker({dateFmt:'yyyy-MM-dd'});});
 });

 </script>